﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PushPanel : MonoBehaviour
{
    // Start is called before the first frame update
    public bool defaultState = false;
    private void Start()
    {
        GameObject.FindGameObjectWithTag(StaticDataManager.UI_MANAGER_TAG).GetComponent<UIManager>()
            .PushPanel(this.gameObject);

        GetComponent<UIPanel>().isActive = defaultState;
    }
}
